package com.shopping_back.service;

import com.shopping_back.pojo.entity.OrderMain;
import com.shopping_back.pojo.entity.Sku;
import com.shopping_back.pojo.entity.Spu;
import com.shopping_back.pojo.vo.GroupDetailVO;
import com.shopping_back.pojo.dto.JoinGroupDTO;
import com.shopping_back.pojo.dto.OpenGroupDTO;
import com.shopping_back.pojo.dto.PageDTO;
import com.shopping_back.pojo.vo.GroupCardVO;
import com.shopping_back.pojo.vo.GroupbuyDetailVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface IGroupbuyService {

    Map<String, Object> openGroup(OpenGroupDTO dto, Long userId);

    Map<String, Object> joinGroupByCode(JoinGroupDTO dto, Long userId);

    GroupDetailVO getGroupDetail(Long groupId);

    List<GroupbuyDetailVO> getDetails(Long activityId);

    GroupDetailVO getGroupDetailByCode(String inviteCode);



}



